package arconplugin.preferences;

import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.jface.preference.IPreferenceStore;

import arconplugin.Activator;

/**
 * Class used to initialize default preference values.
 */
public class PreferenceInitializer extends AbstractPreferenceInitializer {

	public static final String POSTFIX = "postfix";
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
	 */
	public void initializeDefaultPreferences() {
		IPreferenceStore store = Activator.getDefault().getPreferenceStore();
		store.setDefault(PreferenceConstants.P_ARCON_PATH,"");
		store.setDefault(PreferenceConstants.P_DEBUG_LEVEL,1);
		store.setDefault(PreferenceConstants.P_SYSTEM_POSTFIX,"_system");
		store.setDefault(PreferenceConstants.P_ARCH_POSTFIX,"_arch");
		store.setDefault(PreferenceConstants.P_AFFIX_TYPE,POSTFIX);
	}

}
